Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Silicon Labs/EFR32BG22C224F512GM32/DEVINFO/MSIZE#0x0
Flash and SRAM Memory size in kB
Flash Size
Sram Size
https://github.com/cmsis-svd/cmsis-svd-data